module.exports = {
    publicPath: '/bigdata',
    outputDir: "dist", // build打包输出目录
    assetsDir: "assets", // 静态文件输出目录，基于dist
    indexPath: "index.html", // 输出html文件名
    devServer: {
        proxy: {
            '/g2': {
                target: 'https://view.inews.qq.com',
                changeOrigin: true,
            },
            '/news/wap': {
                target: 'https://interface.sina.cn',
                changeOrigin: true,
            },
            '/ug': {
                target: 'https://c.m.163.com',
                changeOrigin: true,
            },
            '/newsqa': {
                target: 'https://api.inews.qq.com',
                changeOrigin: true
            },

        },
    },
    configureWebpack: require("./webpack.config")
}